<?php require_once('../../core/import.php');?>
<?php User::Permission('ACCOUNT_LIST_LOCKED_OPEN'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {        
        #遍历
        foreach(@Functions::FormArgs('ID') as $Value)
        {
		  if($Data=DB::GetRowByID('account',$Value))
		  {
			DB::CExec('delete from account_locked where Account=\''.$Data['Username'].'\'');
		  }
        }
        #转向
        Functions::JsLocation($_SERVER['HTTP_REFERER']);
    }
?>